@echo off

:: Set these three lines to the right values for your system.
set backup = "C:/opol/backups/"
set user = "user"
set pass = "pass"

mysqldump -u '%user%' -p'%pass%' opol > %backup%